<?php /* Smarty version 2.6.26, created on 2015-08-01 20:22:25
         compiled from my_answer.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'my_answer.html', 34, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../Common/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<link rel="stylesheet" href="./Public/Home/Css/member.css" />
	<script type="text/javascript" src='./Public/Home/Js/member.js'></script>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../Common/nav.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<!--------------------中部-------------------->
	<div id='center'>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../Common/memberLeft.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		<div id='right'>
			<p class='title'>我的回答</p>
			<ul class='ask-filter'>
				<li <?php if (! $_GET['w']): ?>class='cur'<?php endif; ?>><a href="./index.php?c=member&a=my_answer&uid=<?php echo $_GET['uid']; ?>
">全部回答</a></li>
				<li <?php if ($_GET['w'] == 1): ?>class='cur'<?php endif; ?>><a href="./index.php?c=member&a=my_answer&uid=<?php echo $_GET['uid']; ?>
&w=1">被采纳的回答</a></li>
			</ul>
			<div class='list list-filter'>
				<table>
				<?php if (! $this->_tpl_vars['myAnswer']): ?>	
						<tr height='140'>
							<td><?php if (! $_GET['w']): ?>你还没有回答过问题<?php else: ?>我还没有被采纳的回答<?php endif; ?></td>
						</tr>
				<?php else: ?>
						<tr>
							<th class='t1'>标题</th>
							<th>回答</th>
							<th class='t3'>更新时间</th>
						</tr>
						<?php $_from = $this->_tpl_vars['myAnswer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?>
						<tr>
							<td class='t1'>
								<a href="./index.php?c=show&asid=<?php echo $this->_tpl_vars['v']['asid']; ?>
"><?php echo $this->_tpl_vars['v']['acontent']; ?>
</a><span>[<?php echo $this->_tpl_vars['v']['title']; ?>
]</span>
							</td>
							<td><?php echo $this->_tpl_vars['v']['answer']; ?>
</td>
							<td class='t3'><?php echo ((is_array($_tmp=$this->_tpl_vars['v']['antime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M")); ?>
</td>
						</tr>
						<?php endforeach; endif; unset($_from); ?>
				<?php endif; ?>		
				</table>
			</div>
			<div class='list list-filter hidden'>
				<table>
						<tr height='140'>
							<td>我还没有被采纳的回答</td>
						</tr>
					<tr>
						<th class='t1'>标题</th>
						<th>回答</th>
						<th class='t3'>更新时间</th>
					</tr>
					<tr>
						<td class='t1'>
							<a href="">什么牌子的电脑好？</a><span>[电脑/硬件]</span>
						</td>
						<td>20</td>
						<td class='t3'>2014-9-14</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
<!--------------------中部结束-------------------->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../Common/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>